package com.irs.mapper;

import com.irs.pojo.BuildingMusic;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
/*泛指各种组件，就是说当我们的类不属于各种归类的时候
 （不属于@Controller、@Services等的时候），我们就可以使用@Component来标注这个类*/
public interface BuildingMusicMapper {

    int insert1(@Param("pojo") BuildingMusic pojo);

    int insertList(@Param("pojos") List<BuildingMusic> pojo);

    List<BuildingMusic> select(@Param("pojo") BuildingMusic pojo);

    int update(@Param("pojo") BuildingMusic pojo);

    int deleteByPrimaryKey(String id);

    int insert(BuildingMusic record);

    BuildingMusic selectByPrimaryKey(String id);

    List<BuildingMusic> selectAll();

    int updateByPrimaryKey(BuildingMusic record);

}
